/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.kylingroup.Server.Thread;

import com.kylingroup.Server.LinuxServer;

/**
 *
 * @author kylin
 */
public class MainThread implements Runnable{
    public boolean stopFlag=true;
    
    public MainThread() {}
    
    public synchronized void readyToStart() {
        this.stopFlag=false;
    }
    @Override
    public void run() {
        while(!stopFlag){
            long now = System.currentTimeMillis();
            System.out.println("server is running");
        }
    }
}
